import { Image } from "@nextui-org/image"
import Text from "@/app/components/text"
import NextImage from 'next/image'
import Link from 'next/link'
export default function Logo(props){
    let {
        type="default"
    } = props
    if(type === "default"){
        return (
            <Link href="/" className="logo_container">
                <Image
                    as={NextImage}
                    width={40}
                    height={40}
                    src="/logo.png"
                    alt="iThinkAi Logo"
                ></Image>
                <Text type="logo">iThinkAi</Text>
            </Link>
        )
    }else if(type === "footer"){
        return (
            <Link href="/" className="logo_container footer-logo-container">
                <Image
                    as={NextImage}
                    width={68}
                    height={68}
                    src="/logo.png"
                    alt="iThinkAi Logo"
                ></Image>
                <div className="text-[40px] text-[#fff] ml-[24px]">iThinkAi</div>
            </Link>
        )
    }else{
        return (
            <Link href="/" className="logo_container">
                <Image
                    as={NextImage}
                    width={200}
                    height={200}
                    src="/logo.png"
                    alt="iThinkAi Logo"
                ></Image>
            </Link>
        )
    }
}